package cn.edu.scau.cmi.chenxiaoqin.hibernate.domain;

import java.util.HashSet;
import java.util.Set;

public class Teacher {
    private String id;
    private String name;
    private Set<Student> stuList=new HashSet<Student>();
    
    public void setId(String i_id)
    {
    	id=i_id;
    }
    
    public void setName(String i_name)
    {
    	name=i_name;
    }
    
    public String getId()
    {
    	return id;
    }
    
    public String getName()
    {
    	return name;
    }
    
    public Set<Student> getStuList()
    {
    	return stuList;
    }
    
    public void setStuList(Set<Student> stuL)
    {
    	stuList=stuL;
    }
    
}
